package com.huangpuweb.task.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class QzYwjkPassagerFlowRowMapper implements RowMapper<QzYwjkPassagerFlow>{



	@Override
	public QzYwjkPassagerFlow mapRow(ResultSet rs, int rowNum) throws SQLException {
		QzYwjkPassagerFlow  lj= new QzYwjkPassagerFlow();
		lj.setSpotid(rs.getString("spotid"));
		lj.setUpdatetimer(rs.getTimestamp("updatetimer"));
		lj.setTotalnumber(rs.getInt("totalnumber"));
		lj.setRealtimenumber(rs.getInt("realtimenumber"));
		lj.setTime(rs.getTimestamp("time"));
		lj.setHours(rs.getString("hours"));
		lj.setIncrease(rs.getString("increase"));
		return lj;
	}

}
